.gantt {
  display: block;
}
.gantt .grid-background {
  fill: none;
}

.gantt .grid-header {
  fill: #ffffff;
  stroke: #e0e0e0;
  stroke-width: 1.4;
  position: sticky;
  top: 0;
}

.gantt .grid-row {
  fill: #ffffff;
}

.gantt .grid-row:nth-child(even) {
  fill: #f5f5f5;
}

.gantt .row-line {
  stroke: #ebeff2;
}

.gantt .tick {
  stroke: #e0e0e0;
  stroke-width: 0.2;
}
.gantt .tick.thick {
  stroke-width: 0.4;
}

.gantt .today-highlight {
  fill: #fcf8e3;
  opacity: 0.5;
}

.gantt .arrow {
  fill: none;
  stroke: #666;
  stroke-width: 1.4;
}

.gantt .bar {
  fill: #b8c2cc;
  stroke: #8d99a6;
  stroke-width: 0;
  transition: stroke-width 0.3s ease;
  user-select: none;
}

.gantt .bar-invalid {
  fill: transparent;
  stroke: #8d99a6;
  stroke-width: 1;
  stroke-dasharray: 5;
}
.gantt .bar-invalid ~ .bar-label {
  fill: #555;
}

.gantt .bar-label {
  fill: #fff;
  dominant-baseline: central;
  text-anchor: middle;
  font-size: 12px;
  font-weight: lighter;
}
.gantt .bar-label-top {
  fill: #333;
  dominant-baseline: central;
  text-anchor: middle;
  font-size: 12px;
  font-weight: lighter;
  stroke-width: 2px;
  stroke: #fff;
}
.gantt .bar-label-font {
  fill: #333;
  dominant-baseline: central;
  text-anchor: middle;
  font-size: 12px;
  font-weight: lighter;
}

.gantt .bar-label.big {
  fill: #555;
  text-anchor: start;
}

.gantt .handle {
  fill: #ddd;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.gantt .bar-wrapper {
  cursor: pointer;
  outline: none;
}
.gantt .bar-wrapper:hover .bar {
  fill: #a9b5c1;
}
.gantt .bar-wrapper:hover .handle {
  opacity: 1;
}
.gantt .bar-wrapper:hover .handle.show {
  visibility: visible;
  opacity: 1;
}
.gantt .bar-wrapper.active .bar {
  fill: #409eff !important;
}
.gantt .bar-wrapper.selected .bar {
  fill: #8a8aff !important;
}
.gantt .bar-wrapper.isSelected .bar {
  fill: #8a8aff !important;
}

.gantt .bar-wrapper.isSearch .bar-label {
  /* stroke-width: 2px; */
  fill: #e1f506;
}
.gantt .bar-wrapper.isNotSearch .bar {
  fill: #999 !important;
}

.gantt .bar-wrapper.rightActive .bar {
  fill: #345612 !important;
}

.gantt .lower-text,
.gantt .upper-text {
  font-size: 12px;
  text-anchor: middle;
}

.gantt .upper-text {
  fill: #555;
}
.gantt .is-holiday {
  fill: #f56c6c !important;
}

.gantt .lower-text {
  fill: #333;
}

.gantt .lower-text .lower-text-s {
  fill: #333;
  text-anchor: middle;
}

.gantt .date-line {
  stroke: #999;
}

.gantt .hide {
  display: none;
}

.gantt-container {
  position: relative;
  overflow: auto;
  font-size: 12px;
  flex: 1;
}
.gantt-container-fixed {
  position: sticky;
  top: 0;
  left: 0;
  overflow-x: hidden;
}
.gantt-container .popup-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.9);
  padding: 0;
  color: #959da5;
  border-radius: 3px;
  min-width: 300px;
}
.gantt-container .popup-wrapper .title {
  /* border-bottom: 3px solid #a3a3ff; */
  padding: 10px;
  font-size: 18px;
  line-height: 24px;
  color: #fff;
}
.gantt-container .popup-wrapper .subtitle {
  padding: 10px;
  color: #dfe2e5;
}
/* .gantt-container .popup-wrapper .pointer {
  position: absolute;
  height: 5px;
  margin: 0 0 0 -5px;
  border: 5px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.8);
} */

.header-fixed {
  position: sticky;
  top: 0;
  left: 0;
  background: #fff;
}

.gantt-left {
  min-width: 100px;
  max-width: 300px;
  min-width: 120px;
  overflow: hidden;
  box-sizing: border-box;
  padding-top: 38px;
  position: relative;
  border-left: 1px solid #ccc;
}
.gantt-left-view {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  /* padding-bottom: 38px; */
  box-sizing: border-box;
  padding-top: 2px;
  border-right: 0.5px solid #ccc;
  border-top: 1px solid #ccc;
}
.gantt-left ::-webkit-scrollbar {
  display: none;
  width: 0;
}

.leftItemCss {
  text-align: center;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
}
.leftItemCss:nth-of-type(2n) {
  background: #f5f5f5;
}

.menuBox {
  position: absolute;
  width: 150px;
  min-height: 38px;
  display: none;
  z-index: 9999;
  left: 0;
  top: 0;
  color: #333;
  border: 1px solid #cecece;
}
.menuBox div {
  height: 28px;
  line-height: 28px;
  color: #333;
  padding: 0 30px;
  background: #fff;
  cursor: pointer;
}
.menuBox div:hover {
  color: #fff;
  background: rgb(75, 147, 242);
}
.barMenuBox {
  position: absolute;
  width: 150px;
  min-height: 28px;
  display: none;
  z-index: 9999;
  left: 0;
  top: 0;
  color: #333;
  border: 1px solid #cecece;
}
.barMenuBox div {
  height: 28px;
  line-height: 28px;
  color: #333;
  padding: 0 30px;
  background: #fff;
  cursor: pointer;
}
.barMenuBox div:hover {
  color: #fff;
  background: rgb(75, 147, 242);
}

.popup-item {
  display: flex;
  justify-content: space-between;
  padding: 3px 5px;
  /* font-size: 12px; */
  line-height: 14px;
}
.popup-item span:first-child {
  color: #409eff;
  font-weight: bolder;
}

.gantt-container table {
  width: 100%;
  border-collapse: collapse;
}
.gantt-container table tr th {
  color: #409eff;
}
.gantt-container table tr th,
.gantt-container table tr td {
  border-color: #409eff;
  width: 33%;
  text-align: center;
}
